package com.jhgk.jhcee.auth.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class JhUserMarketExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public JhUserMarketExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andPhoneIsNull() {
            addCriterion("phone is null");
            return (Criteria) this;
        }

        public Criteria andPhoneIsNotNull() {
            addCriterion("phone is not null");
            return (Criteria) this;
        }

        public Criteria andPhoneEqualTo(String value) {
            addCriterion("phone =", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotEqualTo(String value) {
            addCriterion("phone <>", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneGreaterThan(String value) {
            addCriterion("phone >", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneGreaterThanOrEqualTo(String value) {
            addCriterion("phone >=", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLessThan(String value) {
            addCriterion("phone <", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLessThanOrEqualTo(String value) {
            addCriterion("phone <=", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLike(String value) {
            addCriterion("phone like", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotLike(String value) {
            addCriterion("phone not like", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneIn(List<String> values) {
            addCriterion("phone in", values, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotIn(List<String> values) {
            addCriterion("phone not in", values, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneBetween(String value1, String value2) {
            addCriterion("phone between", value1, value2, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotBetween(String value1, String value2) {
            addCriterion("phone not between", value1, value2, "phone");
            return (Criteria) this;
        }

        public Criteria andCodeIsNull() {
            addCriterion("code is null");
            return (Criteria) this;
        }

        public Criteria andCodeIsNotNull() {
            addCriterion("code is not null");
            return (Criteria) this;
        }

        public Criteria andCodeEqualTo(String value) {
            addCriterion("code =", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotEqualTo(String value) {
            addCriterion("code <>", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeGreaterThan(String value) {
            addCriterion("code >", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeGreaterThanOrEqualTo(String value) {
            addCriterion("code >=", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeLessThan(String value) {
            addCriterion("code <", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeLessThanOrEqualTo(String value) {
            addCriterion("code <=", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeLike(String value) {
            addCriterion("code like", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotLike(String value) {
            addCriterion("code not like", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeIn(List<String> values) {
            addCriterion("code in", values, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotIn(List<String> values) {
            addCriterion("code not in", values, "code");
            return (Criteria) this;
        }

        public Criteria andCodeBetween(String value1, String value2) {
            addCriterion("code between", value1, value2, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotBetween(String value1, String value2) {
            addCriterion("code not between", value1, value2, "code");
            return (Criteria) this;
        }

        public Criteria andIsEnterIsNull() {
            addCriterion("is_enter is null");
            return (Criteria) this;
        }

        public Criteria andIsEnterIsNotNull() {
            addCriterion("is_enter is not null");
            return (Criteria) this;
        }

        public Criteria andIsEnterEqualTo(Integer value) {
            addCriterion("is_enter =", value, "isEnter");
            return (Criteria) this;
        }

        public Criteria andIsEnterNotEqualTo(Integer value) {
            addCriterion("is_enter <>", value, "isEnter");
            return (Criteria) this;
        }

        public Criteria andIsEnterGreaterThan(Integer value) {
            addCriterion("is_enter >", value, "isEnter");
            return (Criteria) this;
        }

        public Criteria andIsEnterGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_enter >=", value, "isEnter");
            return (Criteria) this;
        }

        public Criteria andIsEnterLessThan(Integer value) {
            addCriterion("is_enter <", value, "isEnter");
            return (Criteria) this;
        }

        public Criteria andIsEnterLessThanOrEqualTo(Integer value) {
            addCriterion("is_enter <=", value, "isEnter");
            return (Criteria) this;
        }

        public Criteria andIsEnterIn(List<Integer> values) {
            addCriterion("is_enter in", values, "isEnter");
            return (Criteria) this;
        }

        public Criteria andIsEnterNotIn(List<Integer> values) {
            addCriterion("is_enter not in", values, "isEnter");
            return (Criteria) this;
        }

        public Criteria andIsEnterBetween(Integer value1, Integer value2) {
            addCriterion("is_enter between", value1, value2, "isEnter");
            return (Criteria) this;
        }

        public Criteria andIsEnterNotBetween(Integer value1, Integer value2) {
            addCriterion("is_enter not between", value1, value2, "isEnter");
            return (Criteria) this;
        }

        public Criteria andGroupTypeIsNull() {
            addCriterion("group_type is null");
            return (Criteria) this;
        }

        public Criteria andGroupTypeIsNotNull() {
            addCriterion("group_type is not null");
            return (Criteria) this;
        }

        public Criteria andGroupTypeEqualTo(Integer value) {
            addCriterion("group_type =", value, "groupType");
            return (Criteria) this;
        }

        public Criteria andGroupTypeNotEqualTo(Integer value) {
            addCriterion("group_type <>", value, "groupType");
            return (Criteria) this;
        }

        public Criteria andGroupTypeGreaterThan(Integer value) {
            addCriterion("group_type >", value, "groupType");
            return (Criteria) this;
        }

        public Criteria andGroupTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("group_type >=", value, "groupType");
            return (Criteria) this;
        }

        public Criteria andGroupTypeLessThan(Integer value) {
            addCriterion("group_type <", value, "groupType");
            return (Criteria) this;
        }

        public Criteria andGroupTypeLessThanOrEqualTo(Integer value) {
            addCriterion("group_type <=", value, "groupType");
            return (Criteria) this;
        }

        public Criteria andGroupTypeIn(List<Integer> values) {
            addCriterion("group_type in", values, "groupType");
            return (Criteria) this;
        }

        public Criteria andGroupTypeNotIn(List<Integer> values) {
            addCriterion("group_type not in", values, "groupType");
            return (Criteria) this;
        }

        public Criteria andGroupTypeBetween(Integer value1, Integer value2) {
            addCriterion("group_type between", value1, value2, "groupType");
            return (Criteria) this;
        }

        public Criteria andGroupTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("group_type not between", value1, value2, "groupType");
            return (Criteria) this;
        }

        public Criteria andGroupNumIsNull() {
            addCriterion("group_num is null");
            return (Criteria) this;
        }

        public Criteria andGroupNumIsNotNull() {
            addCriterion("group_num is not null");
            return (Criteria) this;
        }

        public Criteria andGroupNumEqualTo(String value) {
            addCriterion("group_num =", value, "groupNum");
            return (Criteria) this;
        }

        public Criteria andGroupNumNotEqualTo(String value) {
            addCriterion("group_num <>", value, "groupNum");
            return (Criteria) this;
        }

        public Criteria andGroupNumGreaterThan(String value) {
            addCriterion("group_num >", value, "groupNum");
            return (Criteria) this;
        }

        public Criteria andGroupNumGreaterThanOrEqualTo(String value) {
            addCriterion("group_num >=", value, "groupNum");
            return (Criteria) this;
        }

        public Criteria andGroupNumLessThan(String value) {
            addCriterion("group_num <", value, "groupNum");
            return (Criteria) this;
        }

        public Criteria andGroupNumLessThanOrEqualTo(String value) {
            addCriterion("group_num <=", value, "groupNum");
            return (Criteria) this;
        }

        public Criteria andGroupNumLike(String value) {
            addCriterion("group_num like", value, "groupNum");
            return (Criteria) this;
        }

        public Criteria andGroupNumNotLike(String value) {
            addCriterion("group_num not like", value, "groupNum");
            return (Criteria) this;
        }

        public Criteria andGroupNumIn(List<String> values) {
            addCriterion("group_num in", values, "groupNum");
            return (Criteria) this;
        }

        public Criteria andGroupNumNotIn(List<String> values) {
            addCriterion("group_num not in", values, "groupNum");
            return (Criteria) this;
        }

        public Criteria andGroupNumBetween(String value1, String value2) {
            addCriterion("group_num between", value1, value2, "groupNum");
            return (Criteria) this;
        }

        public Criteria andGroupNumNotBetween(String value1, String value2) {
            addCriterion("group_num not between", value1, value2, "groupNum");
            return (Criteria) this;
        }

        public Criteria andCreatePersonnelIsNull() {
            addCriterion("create_personnel is null");
            return (Criteria) this;
        }

        public Criteria andCreatePersonnelIsNotNull() {
            addCriterion("create_personnel is not null");
            return (Criteria) this;
        }

        public Criteria andCreatePersonnelEqualTo(String value) {
            addCriterion("create_personnel =", value, "createPersonnel");
            return (Criteria) this;
        }

        public Criteria andCreatePersonnelNotEqualTo(String value) {
            addCriterion("create_personnel <>", value, "createPersonnel");
            return (Criteria) this;
        }

        public Criteria andCreatePersonnelGreaterThan(String value) {
            addCriterion("create_personnel >", value, "createPersonnel");
            return (Criteria) this;
        }

        public Criteria andCreatePersonnelGreaterThanOrEqualTo(String value) {
            addCriterion("create_personnel >=", value, "createPersonnel");
            return (Criteria) this;
        }

        public Criteria andCreatePersonnelLessThan(String value) {
            addCriterion("create_personnel <", value, "createPersonnel");
            return (Criteria) this;
        }

        public Criteria andCreatePersonnelLessThanOrEqualTo(String value) {
            addCriterion("create_personnel <=", value, "createPersonnel");
            return (Criteria) this;
        }

        public Criteria andCreatePersonnelLike(String value) {
            addCriterion("create_personnel like", value, "createPersonnel");
            return (Criteria) this;
        }

        public Criteria andCreatePersonnelNotLike(String value) {
            addCriterion("create_personnel not like", value, "createPersonnel");
            return (Criteria) this;
        }

        public Criteria andCreatePersonnelIn(List<String> values) {
            addCriterion("create_personnel in", values, "createPersonnel");
            return (Criteria) this;
        }

        public Criteria andCreatePersonnelNotIn(List<String> values) {
            addCriterion("create_personnel not in", values, "createPersonnel");
            return (Criteria) this;
        }

        public Criteria andCreatePersonnelBetween(String value1, String value2) {
            addCriterion("create_personnel between", value1, value2, "createPersonnel");
            return (Criteria) this;
        }

        public Criteria andCreatePersonnelNotBetween(String value1, String value2) {
            addCriterion("create_personnel not between", value1, value2, "createPersonnel");
            return (Criteria) this;
        }

        public Criteria andQrCodeIdIsNull() {
            addCriterion("qr_code_id is null");
            return (Criteria) this;
        }

        public Criteria andQrCodeIdIsNotNull() {
            addCriterion("qr_code_id is not null");
            return (Criteria) this;
        }

        public Criteria andQrCodeIdEqualTo(String value) {
            addCriterion("qr_code_id =", value, "qrCodeId");
            return (Criteria) this;
        }

        public Criteria andQrCodeIdNotEqualTo(String value) {
            addCriterion("qr_code_id <>", value, "qrCodeId");
            return (Criteria) this;
        }

        public Criteria andQrCodeIdGreaterThan(String value) {
            addCriterion("qr_code_id >", value, "qrCodeId");
            return (Criteria) this;
        }

        public Criteria andQrCodeIdGreaterThanOrEqualTo(String value) {
            addCriterion("qr_code_id >=", value, "qrCodeId");
            return (Criteria) this;
        }

        public Criteria andQrCodeIdLessThan(String value) {
            addCriterion("qr_code_id <", value, "qrCodeId");
            return (Criteria) this;
        }

        public Criteria andQrCodeIdLessThanOrEqualTo(String value) {
            addCriterion("qr_code_id <=", value, "qrCodeId");
            return (Criteria) this;
        }

        public Criteria andQrCodeIdLike(String value) {
            addCriterion("qr_code_id like", value, "qrCodeId");
            return (Criteria) this;
        }

        public Criteria andQrCodeIdNotLike(String value) {
            addCriterion("qr_code_id not like", value, "qrCodeId");
            return (Criteria) this;
        }

        public Criteria andQrCodeIdIn(List<String> values) {
            addCriterion("qr_code_id in", values, "qrCodeId");
            return (Criteria) this;
        }

        public Criteria andQrCodeIdNotIn(List<String> values) {
            addCriterion("qr_code_id not in", values, "qrCodeId");
            return (Criteria) this;
        }

        public Criteria andQrCodeIdBetween(String value1, String value2) {
            addCriterion("qr_code_id between", value1, value2, "qrCodeId");
            return (Criteria) this;
        }

        public Criteria andQrCodeIdNotBetween(String value1, String value2) {
            addCriterion("qr_code_id not between", value1, value2, "qrCodeId");
            return (Criteria) this;
        }

        public Criteria andQrCodeNameIsNull() {
            addCriterion("qr_code_name is null");
            return (Criteria) this;
        }

        public Criteria andQrCodeNameIsNotNull() {
            addCriterion("qr_code_name is not null");
            return (Criteria) this;
        }

        public Criteria andQrCodeNameEqualTo(String value) {
            addCriterion("qr_code_name =", value, "qrCodeName");
            return (Criteria) this;
        }

        public Criteria andQrCodeNameNotEqualTo(String value) {
            addCriterion("qr_code_name <>", value, "qrCodeName");
            return (Criteria) this;
        }

        public Criteria andQrCodeNameGreaterThan(String value) {
            addCriterion("qr_code_name >", value, "qrCodeName");
            return (Criteria) this;
        }

        public Criteria andQrCodeNameGreaterThanOrEqualTo(String value) {
            addCriterion("qr_code_name >=", value, "qrCodeName");
            return (Criteria) this;
        }

        public Criteria andQrCodeNameLessThan(String value) {
            addCriterion("qr_code_name <", value, "qrCodeName");
            return (Criteria) this;
        }

        public Criteria andQrCodeNameLessThanOrEqualTo(String value) {
            addCriterion("qr_code_name <=", value, "qrCodeName");
            return (Criteria) this;
        }

        public Criteria andQrCodeNameLike(String value) {
            addCriterion("qr_code_name like", value, "qrCodeName");
            return (Criteria) this;
        }

        public Criteria andQrCodeNameNotLike(String value) {
            addCriterion("qr_code_name not like", value, "qrCodeName");
            return (Criteria) this;
        }

        public Criteria andQrCodeNameIn(List<String> values) {
            addCriterion("qr_code_name in", values, "qrCodeName");
            return (Criteria) this;
        }

        public Criteria andQrCodeNameNotIn(List<String> values) {
            addCriterion("qr_code_name not in", values, "qrCodeName");
            return (Criteria) this;
        }

        public Criteria andQrCodeNameBetween(String value1, String value2) {
            addCriterion("qr_code_name between", value1, value2, "qrCodeName");
            return (Criteria) this;
        }

        public Criteria andQrCodeNameNotBetween(String value1, String value2) {
            addCriterion("qr_code_name not between", value1, value2, "qrCodeName");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeIsNull() {
            addCriterion("pay_time is null");
            return (Criteria) this;
        }

        public Criteria andPayTimeIsNotNull() {
            addCriterion("pay_time is not null");
            return (Criteria) this;
        }

        public Criteria andPayTimeEqualTo(Date value) {
            addCriterion("pay_time =", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeNotEqualTo(Date value) {
            addCriterion("pay_time <>", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeGreaterThan(Date value) {
            addCriterion("pay_time >", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("pay_time >=", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeLessThan(Date value) {
            addCriterion("pay_time <", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeLessThanOrEqualTo(Date value) {
            addCriterion("pay_time <=", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeIn(List<Date> values) {
            addCriterion("pay_time in", values, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeNotIn(List<Date> values) {
            addCriterion("pay_time not in", values, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeBetween(Date value1, Date value2) {
            addCriterion("pay_time between", value1, value2, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeNotBetween(Date value1, Date value2) {
            addCriterion("pay_time not between", value1, value2, "payTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}